Fix cargo doc with custom build commands
authorAlex Crichton <alex@alexcrichton.com>
Tue, 16 Sep 2014 14:47:39 +0000 (07:47 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 16 Sep 2014 19:09:42 +0000 (12:09 -0700)
commit61b8102dfbdbc162b4412fa219c018fc57195603
tree53953586d2460bfe01ad6e6610ed9839060a8cba
parent31c4baf8ab9124591bae678100a6efa9cb708bfe
Fix cargo doc with custom build commands

There's no "doc-all" profile, so it needs to be canonicalized when finding the
name of the profile to pass to a build command.
src/cargo/ops/cargo_rustc/context.rs
src/cargo/ops/cargo_rustc/mod.rs
tests/test_cargo_doc.rs